package com.itheima.service;

import com.itheima.pojo.Emp;
import com.itheima.pojo.EmpQueryParam;
import com.itheima.pojo.LoginInfo;
import com.itheima.pojo.PageResult;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Service

public interface EmpService {
    PageResult<Emp> page(EmpQueryParam  param);

    void delete(Integer[] ids);


    void add(Emp emp);

    Emp getInfo(Integer id);

    void update(Emp emp);

    LoginInfo login(Emp emp);

    List<Emp> list();
}
